package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class MergeUpdateSpecification {

    private int beginIndex;
    private int endIndex;
    private SetClauseList setClauseList;

    public MergeUpdateSpecification(int beginIndex, SetClauseList setClauseList) {
        this.beginIndex = beginIndex;
        this.endIndex = setClauseList.get(setClauseList.size() - 1).getEndIndex();
        this.setClauseList = setClauseList;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SetClauseList getSetClauseList() {
        return setClauseList;
    }

}
